package com.example.firstdemo.mapper;

import com.example.firstdemo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface UserMapper {
    List<User> findUserByGoodsName(String goodsName);
    public List<User> listUser();
    public int insertUser(User user);
    public int delete(int goodsId);
    public int Update(User user);
}
